package com.kcs.dc.report.view.dto;

import com.kcs.common.framework.GenericDto;
import com.kcs.common.utils.commonUtils;

public class UserProfileAddEditDto extends GenericDto {

	private String useridSearch;
	private String useridSearch_Attr;

	private String usernameSearch;
	
	private String expireDate;
	private String hidExpireDate;
	private String expireDate_Attr;
	
	private int column;
	private int row;

	private String[] selectMenu;
	private String[] hidselectMenu;
	private String[][] userProfile;
	/**
	 * Constructor
	 */
	public UserProfileAddEditDto() {
		super();
	}

	public String getUseridSearch() {
		return useridSearch;
	}

	public void setUseridSearch(String useridSearch) {
		this.useridSearch = commonUtils.trimAll(useridSearch);
	}

	public String getUsernameSearch() {
		return usernameSearch;
	}

	public void setUsernameSearch(String usernameSearch) {
		this.usernameSearch = commonUtils.trimAll(usernameSearch);
	}

	public String getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(String expireDate) {
		this.expireDate = commonUtils.trimAll(expireDate);
	}

	public String getHidExpireDate() {
		return hidExpireDate;
	}

	public void setHidExpireDate(String hidExpireDate) {
		this.hidExpireDate = hidExpireDate;
	}

	public String getExpireDate_Attr() {
		if (this.expireDate_Attr == null) {
			this.expireDate_Attr = "";
		}
		return expireDate_Attr;
	}

	public void setExpireDate_Attr(String expireDate_Attr) {
		this.expireDate_Attr = expireDate_Attr;
	}

	public String[][] getUserProfile() {
		return userProfile;
	}

	public void setUserProfile(String[][] userProfile) {
		this.userProfile = userProfile;
	}

	public int getColumn() {
		return column;
	}

	public void setColumn(int column) {
		this.column = column;
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}

	public String[] getSelectMenu() {
		if (this.selectMenu == null) {
			this.selectMenu = new String[] {};
		}
		return selectMenu;
	}

	public void setSelectMenu(String[] selectMenu) {
		this.selectMenu = selectMenu;
		for (int i = 0; i < this.selectMenu.length; i++) {
			this.selectMenu[i] = (commonUtils.trimAll(this.selectMenu[i]));
		}
	}

	public String[] getHidselectMenu() {
		if (this.hidselectMenu == null) {
			this.hidselectMenu = new String[] {};
		}
		return hidselectMenu;
	}

	public void setHidselectMenu(String[] hidselectMenu) {
		this.hidselectMenu = hidselectMenu;
		for (int i = 0; i < this.hidselectMenu.length; i++) {
			this.hidselectMenu[i] = (commonUtils.trimAll(this.hidselectMenu[i]));
		}
	}

	public String getUseridSearch_Attr() {
		return useridSearch_Attr;
	}

	public void setUseridSearch_Attr(String useridSearch_Attr) {
		this.useridSearch_Attr = useridSearch_Attr;
	}
	
}
